<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML>
<HEAD>
   <TITLE>class  OSGGLUT_EXPORT osgGLUT::Window</TITLE>
   <META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
</HEAD>
<BODY BGCOLOR="#ffffff">

<H2>class  OSGGLUT_EXPORT <A HREF="#DOC.DOCU">osgGLUT::Window</A></H2></H2><BLOCKQUOTE>A basic GLUTWindow base class which provides a just a basic window.</BLOCKQUOTE>
<HR>

<H2>Inheritance:</H2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
<param name=classes value="CWindow,MWindow.html,CViewer,MViewer.html">
<param name=before value="M,M^_">
<param name=after value="M,M">
<param name=indent value="0,0">
<param name=arrowdir value="down">
</APPLET>
<HR>

<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.7.3.1">Window</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   <B><A HREF="#DOC.7.3.2">~Window</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.7.3.3">setWindowOrigin</A></B>(int x, int y)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.7.3.4">setWindowSize</A></B>(int width, int height)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.7.3.5">setWindowTitle</A></B>(const std::string&amp; title)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.7.3.6">setDisplayMode</A></B>(unsigned int displayMode)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   bool <B><A HREF="#DOC.7.3.7">open</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   bool <B><A HREF="#DOC.7.3.8">run</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.7.3.9">display</A></B>()
</DL></P>

<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static   <!1><A HREF="Window.html">Window</A>* <B><A HREF="#DOC.7.3.32">s_theWindow</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>std::string <B><A HREF="#DOC.7.3.33">_title</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.7.3.34">_wx</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int  <B><A HREF="#DOC.7.3.35">_wy</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int   <B><A HREF="#DOC.7.3.36">_ww</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int    <B><A HREF="#DOC.7.3.37">_wh</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.7.3.38">_displayMode</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.7.3.39">_is_open</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.7.3.40">_mx</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int  <B><A HREF="#DOC.7.3.41">_my</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int   <B><A HREF="#DOC.7.3.42">_mbutton</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.7.3.43">_fullscreen</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.7.3.44">_saved_wx</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int  <B><A HREF="#DOC.7.3.45">_saved_wy</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int   <B><A HREF="#DOC.7.3.46">_saved_ww</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int    <B><A HREF="#DOC.7.3.47">_saved_wh</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.7.3.48">_exit</A></B>
</DL></P>

<P><DL>
<DT><H3>Protected Methods</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.7.3.10">clear</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static   void <B><A HREF="#DOC.7.3.11">displayCB</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static   void <B><A HREF="#DOC.7.3.12">reshapeCB</A></B>(int w, int h)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static   void <B><A HREF="#DOC.7.3.13">visibilityCB</A></B>(int state)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static   void <B><A HREF="#DOC.7.3.14">mouseMotionCB</A></B>(int x, int y)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static   void <B><A HREF="#DOC.7.3.15">mousePassiveMotionCB</A></B>(int x, int y)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static   void <B><A HREF="#DOC.7.3.16">mouseCB</A></B>(int button, int state, int x, int y)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static   void <B><A HREF="#DOC.7.3.17">keyboardCB</A></B>(unsigned char key, int x, int y )
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static   void <B><A HREF="#DOC.7.3.18">specialCB</A></B>(int key, int x, int y)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static   void <B><A HREF="#DOC.7.3.19">spaceballMotionCB</A></B>(int x, int y, int z)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static   void <B><A HREF="#DOC.7.3.20">spaceballRotateCB</A></B>(int x, int y, int z)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static   void <B><A HREF="#DOC.7.3.21">spaceballButtonCB</A></B>(int button, int state)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.7.3.22">reshape</A></B>(GLint w, GLint h)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.7.3.23">visibility</A></B>(int state)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.7.3.24">mouseMotion</A></B>(int x, int y)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.7.3.25">mousePassiveMotion</A></B>(int x, int y)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.7.3.26">mouse</A></B>(int button, int state, int x, int y)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.7.3.27">keyboard</A></B>(unsigned char key, int x, int y)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.7.3.28">special</A></B>(int key, int x, int y)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.7.3.29">spaceballMotion</A></B>(int x, int y, int z)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.7.3.30">spaceballRotate</A></B>(int x, int y, int z)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.7.3.31">spaceballButton</A></B>(int button, int state)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.7.3.49">check_if_exit</A></B>()
</DL></P>

</DL>

<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>A basic GLUTWindow base class which provides a just a basic window. </BLOCKQUOTE>
<DL>

<A NAME="Window"></A>
<A NAME="DOC.7.3.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Window()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="~Window"></A>
<A NAME="DOC.7.3.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   ~Window()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setWindowOrigin"></A>
<A NAME="DOC.7.3.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setWindowOrigin(int x, int y)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setWindowSize"></A>
<A NAME="DOC.7.3.4"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setWindowSize(int width, int height)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setWindowTitle"></A>
<A NAME="DOC.7.3.5"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setWindowTitle(const std::string&amp; title)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setDisplayMode"></A>
<A NAME="DOC.7.3.6"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setDisplayMode(unsigned int displayMode)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="open"></A>
<A NAME="DOC.7.3.7"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   bool open()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="run"></A>
<A NAME="DOC.7.3.8"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   bool run()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="display"></A>
<A NAME="DOC.7.3.9"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void display()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="clear"></A>
<A NAME="DOC.7.3.10"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void clear()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="displayCB"></A>
<A NAME="DOC.7.3.11"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static   void displayCB()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="reshapeCB"></A>
<A NAME="DOC.7.3.12"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static   void reshapeCB(int w, int h)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="visibilityCB"></A>
<A NAME="DOC.7.3.13"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static   void visibilityCB(int state)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="mouseMotionCB"></A>
<A NAME="DOC.7.3.14"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static   void mouseMotionCB(int x, int y)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="mousePassiveMotionCB"></A>
<A NAME="DOC.7.3.15"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static   void mousePassiveMotionCB(int x, int y)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="mouseCB"></A>
<A NAME="DOC.7.3.16"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static   void mouseCB(int button, int state, int x, int y)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="keyboardCB"></A>
<A NAME="DOC.7.3.17"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static   void keyboardCB(unsigned char key, int x, int y )</B></TT>
<DL><DT><DD></DL><P>
<A NAME="specialCB"></A>
<A NAME="DOC.7.3.18"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static   void specialCB(int key, int x, int y)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="spaceballMotionCB"></A>
<A NAME="DOC.7.3.19"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static   void spaceballMotionCB(int x, int y, int z)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="spaceballRotateCB"></A>
<A NAME="DOC.7.3.20"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static   void spaceballRotateCB(int x, int y, int z)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="spaceballButtonCB"></A>
<A NAME="DOC.7.3.21"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static   void spaceballButtonCB(int button, int state)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="reshape"></A>
<A NAME="DOC.7.3.22"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void reshape(GLint w, GLint h)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="visibility"></A>
<A NAME="DOC.7.3.23"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void visibility(int state)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="mouseMotion"></A>
<A NAME="DOC.7.3.24"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void mouseMotion(int x, int y)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="mousePassiveMotion"></A>
<A NAME="DOC.7.3.25"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void mousePassiveMotion(int x, int y)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="mouse"></A>
<A NAME="DOC.7.3.26"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void mouse(int button, int state, int x, int y)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="keyboard"></A>
<A NAME="DOC.7.3.27"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void keyboard(unsigned char key, int x, int y)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="special"></A>
<A NAME="DOC.7.3.28"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void special(int key, int x, int y)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="spaceballMotion"></A>
<A NAME="DOC.7.3.29"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void spaceballMotion(int x, int y, int z)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="spaceballRotate"></A>
<A NAME="DOC.7.3.30"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void spaceballRotate(int x, int y, int z)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="spaceballButton"></A>
<A NAME="DOC.7.3.31"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void spaceballButton(int button, int state)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="s_theWindow"></A>
<A NAME="DOC.7.3.32"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static   <!1><A HREF="Window.html">Window</A>* s_theWindow</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_title"></A>
<A NAME="DOC.7.3.33"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>std::string _title</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_wx"></A>
<A NAME="DOC.7.3.34"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _wx</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_wy"></A>
<A NAME="DOC.7.3.35"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int  _wy</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_ww"></A>
<A NAME="DOC.7.3.36"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int   _ww</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_wh"></A>
<A NAME="DOC.7.3.37"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int    _wh</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_displayMode"></A>
<A NAME="DOC.7.3.38"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned int _displayMode</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_is_open"></A>
<A NAME="DOC.7.3.39"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _is_open</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_mx"></A>
<A NAME="DOC.7.3.40"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _mx</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_my"></A>
<A NAME="DOC.7.3.41"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int  _my</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_mbutton"></A>
<A NAME="DOC.7.3.42"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int   _mbutton</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_fullscreen"></A>
<A NAME="DOC.7.3.43"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _fullscreen</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_saved_wx"></A>
<A NAME="DOC.7.3.44"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _saved_wx</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_saved_wy"></A>
<A NAME="DOC.7.3.45"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int  _saved_wy</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_saved_ww"></A>
<A NAME="DOC.7.3.46"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int   _saved_ww</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_saved_wh"></A>
<A NAME="DOC.7.3.47"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int    _saved_wh</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_exit"></A>
<A NAME="DOC.7.3.48"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _exit</B></TT>
<DL><DT><DD></DL><P>
<A NAME="check_if_exit"></A>
<A NAME="DOC.7.3.49"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void check_if_exit()</B></TT>
<DL><DT><DD></DL><P></DL>
<HR>
<DL><DT><B>Direct child classes:
</B><DD><A HREF="Viewer.html">Viewer</A><BR>
</DL>

<DL><DT><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I> <I><A HREF="HIER.html">HTML hierarchy of classes</A> or <A HREF="HIERjava.html">Java</A></I></P><HR>
<BR>
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
</BODY>
</HTML>
